package com.dcm.live.entity;

import com.dcm.common.enums.LikeStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * [关注]
 *
 * @author : [pengrongsheng]
 * @createTime : [2021/4/9]
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserFocusEntity {
    private Long id;

    /**
     * 被点赞的用户的id
     */
    private Long focusUserId;

    /**
     * 点赞的用户的id
     */
    private Long focusPostId;

    /**
     * 点赞的状态.默认未点赞
     */
    private Integer status = LikeStatusEnum.BLUR.getCode();

    public UserFocusEntity(Long focusUserId, Long focusPostId, Integer status) {
        this.focusUserId = focusUserId;
        this.focusPostId = focusPostId;
        this.status = status;
    }
}
